package de.tu_darmstadt.gdi1.battleship.exceptions;

/**
 * Exception that is thrown whenever a level file cannot be identified as valid.
 * 
 */
public class InvalidLevelFileException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8175219478076382143L;

	/**
	 * Creates a new instance of the InvalidLevelFileException class
	 * 
	 * @param errorMessage
	 *            A string description of the reason why this operation is
	 *            invalid
	 */

	public InvalidLevelFileException(String errorMessage) {
		// TODO Auto-generated constructor stub
		super(errorMessage);
	}

	/* ======================================================================== */

	/**
	 * Creates a new instance of the InvalidLevelFileException class
	 * 
	 * @param cause
	 *            The original exception that has lead to the error
	 */

	public InvalidLevelFileException(Throwable cause) {
		super(cause);
	}
}
